﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SPMS.Log.Configuration
{
    /// <summary>
    /// 日志配置节点
    /// </summary>
    /// <remarks>日志配置节点</remarks>
    /// <history>
    /// [zanezeng]               2009/10/15 12:07    创建
    /// </history>
    public static class LogConfiguationTags
    {
        #region ---Tags

        /// <summary>
        /// 配置根节点标记
        /// </summary>
        public const string TAG_LEYSER_LOG = "leyser-log";

        /// <summary>
        /// 日志记录器组标记
        /// </summary>
        public const string TAG_LOGGERS = "loggers";

        /// <summary>
        /// 日志记录器标记
        /// </summary>
        public const string TAG_LOGGER = "logger";

        /// <summary>
        /// 日志追加器组标记
        /// </summary>
        public const string TAG_APPENDERS = "appenders";

        /// <summary>
        /// 日志追加器标记
        /// </summary>
        public const string TAG_APPENDER = "appender";

        /// <summary>
        /// 日志追加器引用标记
        /// </summary>
        public const string TAG_APPENDER_REF = "appender-ref";

        /// <summary>
        /// 日志过滤器标记
        /// </summary>
        public const string TAG_FILTER = "filter";

        /// <summary>
        /// 属性标记
        /// </summary>
        public const string TAG_PROPERTY = "property";

        #endregion

        #region ---Attribute

        /// <summary>
        /// 名称属性标记
        /// </summary>
        public const string ATTRIBUTE_NAME = "name";

        /// <summary>
        /// 值属性标记
        /// </summary>
        public const string ATTRIBUTE_VALUE = "value";

        /// <summary>
        /// 类型属性标记
        /// </summary>
        public const string ATTRIBUTE_TYPE = "type";

        /// <summary>
        /// 可用属性标记
        /// </summary>
        public const string ATTRIBUTE_ENABLED = "enabled";

        /// <summary>
        /// 级别属性标记
        /// </summary>
        public const string ATTRIBUTE_LEVEL = "level";

        /// <summary>
        /// 默认级别属性标记
        /// </summary>
        public const string ATTRIBUTE_DEFAULT_LEVEL = "default-level";

        /// <summary>
        /// 默认日志记录器属性标记
        /// </summary>
        public const string ATTRIBUTE_DEFAULT_LOGGER = "default-logger";

        #endregion
    }
}
